package com.river.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by jl on 2019/1/12 0012
 */
@FeignClient(name = "hiserver", url = "http://localhost:8762")
public interface ServiceHiFacade {
    @GetMapping("/hi")
    String sayHi(@RequestParam("name") String name);
}
